package com.coolwen.dao;

import com.coolwen.entity.RoleResource;
import org.apache.ibatis.annotations.Param;

public interface RoleResourceMapper {

    int deleteById(Long id);

    int insert(RoleResource record);

    int insertSelective(RoleResource record);

    RoleResource selectById(Long id);

    int updateById(RoleResource record);

    int updateByPrimaryKey(RoleResource record);

    int deleteByRR(@Param("roleid") Long roleid, @Param("resid") Long resid);
}